module Admin::RolesHelper
  def permissions_groups
    CodeTable.joins('INNER JOIN permissions on code_tables.id = permissions.group_id').distinct.includes :permissions
  end
end
